#ifndef __ASFREEPAY_H__
#define __ASFREEPAY_H__

#include "..\app\ASApp.h"

typedef void(*as_free_pay_result_cb)(as_ret result);

#ifdef AS_FREE_PAY_ENABLE_IN_PHONE
#include "..\plat\sky\app_suit\src\mrc_freecurrency.h"
#include "mrc_passport.h"


void as_free_pay_init(void);
void as_free_pay_deinit(void);
ASBOOL as_free_pay_if_load_ok(void);

as_ret as_free_pay_point_check(ASINT point_idx, as_free_pay_result_cb result_cb);

void as_free_pay_point_pay(ASINT point_idx, ASINT amount, ASSTR gb_brief, ASSTR gb_detail,
                           as_free_pay_result_cb result_cb);

void as_free_pay_prop_pay(ASINT prop_idx, ASINT amount, ASSTR gb_brief, ASSTR gb_detail,
                          as_free_pay_result_cb result_cb);

#else
#define as_free_pay_init
#define as_free_pay_deinit
#define as_free_pay_if_load_ok
#define as_free_pay_point_check
#define as_free_pay_point_pay
#define as_free_pay_prop_pay

#endif//AS_FREE_PAY_ENABLE_IN_PHONE




#endif //__ASFREEPAY_H__